import CONSTANT from '@/common/constants.js';
import http from '@/common/http.js';
export default {
  name: 'tabbar',
  components: {},
  data () {
    return {
      pxText:'培训',
      pxShow: false,
      tzShow: false,
      tobarClass: 'li-student',
      ddUrl: '/pointto'
    }
  },
  mounted () {
    let siteId = window.sessionStorage.getItem('siteId')
    if (siteId == '71F7B4B5ADF92308E0530100007F712B') {
      this.pxText = '报名';
    }
    let userType = window.sessionStorage.getItem("userType")
    if (userType == 1) {
      this.ddUrl = '/pointto_teacher'
      this.tobarClass = 'li-teacher'
    } else {
        this.pxShow = true
        this.tzShow = true
    }
  },
  methods: {}
}
